using System;
using System.Data;
using System.Web;
using System.Collections;
using System.Web.Services;
using System.Web.Services.Protocols;
using System.ComponentModel;
using CompareSpringProxy.Model;

namespace CompareSpringProxy.WebService
{
    /// <summary>
    /// Summary description for HelloWorld1
    /// </summary>
    [WebService(Namespace = "http://tempuri.org")]
    [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
    [ToolboxItem(false)]
    public class HelloWorld1 : System.Web.Services.WebService, IHelloWorld
    {

        [WebMethod]
        public string SayHello(string name)
        {
            return "Hello " + (string.IsNullOrEmpty(name) ? "World" : name);
        }
    }
}
